package com.neu.questionnaireplus.service;

import java.util.List;

public interface ForbiddenVocabularyCheckService {

  /**
  * @Description: 将检测到的敏感词返回
  * @Param: [str]
  * @return: java.util.List<java.lang.String>
  * @Author: ~FHX~ (:TSunS:)
  * @Date: 2022/11/8
  */
  List<String> checkStrs(String str);

  /**
  * @Description: 查询文本是否含有敏感词
  * @Param: [str]
  * @return: boolean
  * @Author: ~FHX~ (:TSunS:)
  * @Date: 2022/11/8
  */
  boolean isForbidden(String str);

}
